package com.ruoyi.system.api;

import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.api.domain.SysFile;
import com.ruoyi.system.api.factory.RemoteServerFallbackFactory;

/**
 * 文件服务
 *
 * @author ruoyi
 */
@FeignClient(contextId = "RemoteServerService", value = ServiceNameConstants.TAICHOO_SERVICE, fallbackFactory = RemoteServerFallbackFactory.class)
public interface RemoteServerService {

    @PostMapping("getAppByPackage")
    AjaxResult getAppByPackage(@RequestBody String packageName);


}
